package com.tuo51.bizgame.doctorcat.domain;

import com.tuo51.foudation.model.Domain;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Data
@Entity
@Table(name = "dc_level")
@EqualsAndHashCode(callSuper = true)
public class Level extends Domain {

    @Column(columnDefinition = "varchar(32) COMMENT '等级名称'")
    private String name;

    @Column(columnDefinition = "int default 0 COMMENT '积分'")
    private Integer score;

    @Column(columnDefinition = "int default 0 COMMENT '等级'")
    private Integer level;

     
}
